package com.huabo.audit.service.impl;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huabo.audit.oracle.entity.TblNbsjAuditStepEntity;
import com.huabo.audit.oracle.mapper.TblNbsjAuditStepMapper;
import com.huabo.audit.service.TblNbsjAuditStepService;
@Service
public class TblNbsjAuditStepServiceImpl extends ServiceImpl<TblNbsjAuditStepMapper, TblNbsjAuditStepEntity> implements TblNbsjAuditStepService {

	@Override
	public List<TblNbsjAuditStepEntity> findByExper(BigDecimal experId) {
		List<TblNbsjAuditStepEntity> list = baseMapper.findByExperByExperId(experId+"");
		return list;
	}

	@Override
	public void deleteByExperId(BigDecimal experId) {
		baseMapper.deleteByExperId(experId+"");
	}

	@Override
	public void merge(TblNbsjAuditStepEntity auditStep) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(TblNbsjAuditStepEntity auditStep) {
		BigDecimal stepId = auditStep.getStepId();
		baseMapper.delete(stepId+"");

	}

}
